package com.liukai.personalbills.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan(basePackages = {"com.liukai.personalbills"})
@EnableTransactionManagement
public class AppConfig {

//    @Bean
//    public SqlSession getSqlSession(){
//        SqlSessionFactory build = new SqlSessionFactoryBuilder().build(in);
//
//        SqlSession sqlSession0 = build.openSession();
//        return sqlSession0;
//    }

}
